import { RequestClass } from '@/utils/requestClass';

const request = new RequestClass
//数据源列表接口
export const datasourceList = request.getServiceRequest('/datasource/list')
// 测试连接接口
export const validates = request.postServiceRequest('/datasource/validate')
// 注册数据源
export const registerDatasource = request.postServiceRequest('/datasource/register')
// 删除数据源
export const deleteDatasource = request.getSplicingServiceRequest('/datasource/unregister/')
// 批量删除数据源
export const batchDeleteDatasource = request.postServiceRequest('/datasource/unregisters')